From f39983e1f6be7eb8850fcdb8d37f44081d6cd3c2 Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Wed, 13 Dec 2006 20:43:47 +0000 Subject: [PATCH] Hack xm block-detach to remove tap disks as well as vbds. This isn't very pretty -- a better solution would be nice. Signed-off-by: Ewan Mellor --- tools/python/xen/xm/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index 981c01f1e9..189347fdc4 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -1510,6 +1510,7 @@ def detach(args, command, deviceClass): def xm_block_detach(args): detach(args, 'block-detach', 'vbd') + detach(args, 'block-detach', 'tap') def xm_network_detach(args): -- 2.30.2